/**
 * @Author: xzm
 * @Date: 2019/9/10
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

//  获取所属权限系统人员
//export const getUser = params => {return {"resultCode":200,"errMsg":null,"elapsedMilliseconds":0,"data":{"records":[{"userId":24,"employeeId":198,"dealerCode":null,"employeeNo":"dms005","employeeName":"管理员","empId":204,"phone":"13223232323","gender":null,"dataSources":10461003,"certificateId":null,"orgName":"新能源集团","orgCode":null,"orgId":1,"mobile":"","isOnjob":10081001,"userCode":"GMS006","appId":"cyx"},{"userId":197,"employeeId":199,"dealerCode":null,"employeeNo":"g001","employeeName":" 测试1","empId":205,"phone":"13223232324","gender":null,"dataSources":10461003,"certificateId":null,"orgName":"服务大区","orgCode":null,"orgId":83,"mobile":"","isOnjob":10081001,"userCode":"g001","appId":"cyx"}],"total":2,"size":20,"current":1,"pages":1},"success":true}};
export const getUser = _params => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/basedata/users/getUserInfoByParams`,{params:Object.assign({},_params)});
